package stock;

import java.io.Serializable;

import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity;

import org.hibernate.annotations.Type;

@Entity
@Access(AccessType.FIELD)
public class Stock extends AllId implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public Float danqianjia;

	public Float zhandifu;

	public Long chengjiaoliang;

	public String code;

	public Integer date;

	public String name;

	public Float huanshoulv;

	public String diqv;// 0上海，1深圳

	public String note1; 
	
	public String cjje;
	
	
	 
	public String getCjje() {
		return cjje;
	}

	public void setCjje(String cjje) {
		this.cjje = cjje;
	}

	public Stock() {
		super();
	}

	public Stock(Float danqianjia, Float zhandifu, Long chengjiaoliang, String code, Integer date, String name,
			Float huanshoulv, String diqv, String note1) {
		super();
		this.danqianjia = danqianjia;
		this.zhandifu = zhandifu;
		this.chengjiaoliang = chengjiaoliang;
		this.code = code;
		this.date = date;
		this.name = name;
		this.huanshoulv = huanshoulv;
		this.diqv = diqv;
		this.note1 = note1;
	}

	@Column(name = "note1")
	@Type(type = "text")
	public String getNote1() {
		return note1;
	}

	public void setNote1(String note1) {
		this.note1 = note1;
	}

	public String getDiqv() {
		return diqv;
	}

	public void setDiqv(String diqv) {
		this.diqv = diqv;
	}

	public Float getHuanshoulv() {
		return huanshoulv;
	}

	public void setHuanshoulv(Float huanshoulv) {
		this.huanshoulv = huanshoulv;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Float getDanqianjia() {
		return danqianjia;
	}

	public void setDanqianjia(Float danqianjia) {
		this.danqianjia = danqianjia;
	}

	public Float getZhandifu() {
		return zhandifu;
	}

	public void setZhandifu(Float zhandifu) {
		this.zhandifu = zhandifu;
	}

	public Long getChengjiaoliang() {
		return chengjiaoliang;
	}

	public void setChengjiaoliang(Long chengjiaoliang) {
		this.chengjiaoliang = chengjiaoliang;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getDate() {
		return date;
	}

	public void setDate(Integer date) {
		this.date = date;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
